package com.loto.insurance.oem.web.entity.config;

import java.io.Serializable;
import java.math.BigDecimal;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name = "account")
public class PayAccount implements Serializable {

  private static final long serialVersionUID = 1L;

  private String acc;
  private String key;
  private String secret;
  private boolean isDefault;
  private BigDecimal rate;
  private String partner;
  private String email;

  @XmlAttribute(name = "acc")
  public String getAcc() {
	return acc;
  }

  public void setAcc(String acc) {
	this.acc = acc;
  }

  @XmlAttribute(name = "key")
  public String getKey() {
	return key;
  }

  public void setKey(String key) {
	this.key = key;
  }

  @XmlAttribute(name = "secret")
  public String getSecret() {
	return secret;
  }

  public void setSecret(String secret) {
	this.secret = secret;
  }

  @XmlAttribute(name = "rate")
  public BigDecimal getRate() {
	return rate;
  }

  public void setRate(BigDecimal rate) {
	this.rate = rate;
  }

  @XmlAttribute(name = "isDefault")
  public boolean isDefault() {
	return isDefault;
  }

  public void setDefault(boolean isDefault) {
	this.isDefault = isDefault;
  }

  @XmlAttribute(name = "partner")
  public String getPartner() {
	return partner;
  }

  public void setPartner(String partner) {
	this.partner = partner;
  }

  @XmlAttribute(name = "email")
  public String getEmail() {
	return email;
  }

  public void setEmail(String email) {
	this.email = email;
  }
}
